home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / Handler / c / NullRedraw < prev    next >
Text File  |  1995-07-08  |  462b  |  24 lines

  1. #include "DeskLib:WimpSWIS.h"
  2. #include "DeskLib:Handler.h"
  3.  
  4.  
  5. extern BOOL Handler_NullRedraw(event_pollblock *event, void *reference)
  6. {
  7.   window_redrawblock redraw;
  8.   BOOL more;
  9.  
  10.   UNUSED( reference);
  11.   
  12.   redraw.window = event->data.openblock.window;
  13.   Wimp_RedrawWindow(&redraw, &more);
  14.  
  15.   while (more)
  16.   {
  17.     /* Insert your window redraw code here */
  18.     /* e.g. Redraw_ThreeD(&redraw);        */
  19.     Wimp_GetRectangle(&redraw, &more);
  20.   }
  21.  
  22.   return(TRUE);
  23. }
  24.